x0,y0 = eval(input("请输入p0坐标："))
x1,y1 = eval(input("请输入p1坐标："))
x2,y2 = eval(input("请输入p2坐标："))

temp = (x1-x0)*(y2-y0)-(x2-x0)*(y1-y0)

print("p2在p0到p1的","线上" if temp==0 else "左边" if temp >0 else "右边")